#!/bin/bash

file_name=$1
grep -P '^((\(\d{3}\) )|(\d{3}-))\d{3}-\d{4}$' $file_name
